feat(mac): copy generated passwords from the dialog, and say less to ask more - #233
Merged
Conversation
…ask more Two changes to what the first-run wizard and the password reset put on screen. **The password is now one click away from the clipboard.** Both dialogs show a credential that has to be typed into a browser, and a value like Ab3-xY_9kQ is exactly the thing people mistype. AppleScript cannot make a run of text clickable — `display dialog` draws one static string — so the click target is a button, and the dialog re-shows after copying rather than dismissing: a password displayed once is what someone reaches for twice, and a window that vanishes on the first attempt is how credentials end up being read off a screenshot. The value goes to pbcopy through a pipe rather than through AppleScript's `set the clipboard to`, which would put a secret inside a script string, one quoting mistake from being interpreted. **The wizard leads with the instruction.** It opened with why an account is needed and buried "enter the email address" in the second paragraph, which reads like a sign-up form — and left unanswered the question everybody actually asks: where is my address going. Nowhere. Saying so is worth more than the explanation it replaced. Also corrects the Gatekeeper instructions, in doc/MACOS_APP.md and in the release body. They promised one trip to System Settings. There are two: the downloaded disk image is refused when it is opened, and the app is refused again on first launch, because it inherits the quarantine flag from the image it was dragged out of. Confirmed with a genuinely quarantined build — `spctl -a -t open` rejects the image whether or not it carries the flag; the flag only decides whether that verdict is enforced. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The password is one click from the clipboard
Both the first-run wizard and Reset Password… show a generated credential
that has to be typed into a browser.
Ab3-xY_9kQis exactly the thing peoplemistype.
AppleScript cannot make a run of text clickable —
display dialogdraws onestatic string — so the click target is a button. The dialog re-shows after
copying rather than dismissing: a password displayed once is what someone
reaches for twice, and a window that vanishes on the first attempt is how
credentials end up being read off a screenshot.
The value reaches the clipboard through a pipe to
pbcopy, not throughAppleScript's
set the clipboard to, which would place a secret inside ascript string — one quoting mistake from being interpreted.
The wizard leads with the instruction
Before:
After:
It opened with why and buried what to do in the second paragraph, which
reads like a sign-up form — and left unanswered the question everybody asks:
where is my address going. Nowhere.
Gatekeeper: two blocks, not one
doc/MACOS_APP.mdand the release body promised a single trip to SystemSettings. There are two — the downloaded disk image is refused when opened, and
the app is refused again on first launch, because it inherits the quarantine
flag from the image it was dragged out of.
Confirmed on a genuinely quarantined build:
spctl -a -t openrejects the imagewhether or not it carries the flag, so the flag only decides whether that
verdict is enforced. Both documents now say so, and both tell people to choose
Done rather than Move to Bin.
🤖 Generated with Claude Code